﻿
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="实验 1-1.aspx.cs" Inherits="计科201518.简易计算器" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <style>
        * {text-align:center;}
        </style>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            简易计算器
        
        </div>
        <asp:TextBox ID="txtDisplay" runat="server"></asp:TextBox>
        <p>
            <asp:Button ID="btnone" runat="server" Text="1" OnClick="btnone_Click" Width="70px" />
            <asp:Button ID="btntwo" runat="server" Text="2" OnClick="btntwo_Click" Width="70px" />
            <asp:Button ID="btntree" runat="server" Text="3" OnClick="btntree_Click" Width="70px" />
        </p>
        <p>
            <asp:Button ID="btnadd" runat="server" Text="+" OnClick="btnadd_Click" Width="70px" />
            <asp:Button ID="btnsubtract" runat="server" Text="-" OnClick="btnsubtract_Click" Width="70px" />
            <asp:Button ID="btnequal" runat="server" Text="=" OnClick="btnequal_Click" Width="70px" />
        </p>
    </form>
</body>
</html>